/*
this would go in the init of the static vehicle or in the init section of the spawned vehicle in RUM_Settings
null = [this, "Sniper"] call compile preprocessFile "cScripts\ACE-CrateLoadOuts.sqf";

Case IDs:  Basic, Custom1, Custom2

*/
 
_vehicle = _this select 0;
_strLoadout = _this select 1;
 
switch (_strLoadout) do

{ 
case "Basic": //removed weapons and cargo
{
clearMagazineCargo _vehicle;
clearWeaponCargo _vehicle;

};

case "Custom1":
{
_vehicle addaction ["this is a init addon",("")];
};

case "Custom2":
{
};

};
 